home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12495 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.fsu.edu!upsilon!lloyd
  2. From: lloyd@upsilon.cs.fsu.edu (Justin C Lloyd)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How can I use huge || very small number?
  5. Date: 1 Apr 1996 12:36:03 GMT
  6. Organization: FSU Computer Science Department
  7. Message-ID: <4joijj$m0h@news.fsu.edu>
  8. References: <315681F3.314D@blue.nowcom.co.kr> <4joh0l$jch@news.acns.nwu.edu>
  9. NNTP-Posting-Host: upsilon.cs.fsu.edu
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. On 1 Apr 1996 12:08:53 GMT, Usman Muzaffar (muzaffar@casbah.acns.nwu.edu)
  13. wrote:
  14. ** In article <315681F3.314D@blue.nowcom.co.kr>,
  15. ** whoever  <whatever@blue.nowcom.co.kr> wrote:
  16. ** >may be it is FAQ but...
  17. ** >how can I compute 10000! or 0.12345......
  18.  
  19. ** 10000! is a very, very big number.
  20. ** I'm not sure it's even representable by standard IEEE fp notation.
  21. ** Any have that formula? 2*pi*e something or another.
  22.  
  23.  
  24. I'm sorry that I don't remember the location (possibly sunsite.unc.edu?),
  25. but there was a collection of C snippets/programs that contained a program
  26. that "calculated" huge factorials by using strings.  I don't recall the
  27. algorithm, it was quite complicated.  Anyone else know what I'm referring
  28. to?
  29.  
  30. JcL
  31. --
  32. %%%% Justin Lloyd %% lloyd@cs.fsu.edu %% http://www.cs.fsu.edu/~lloyd %%%%
  33. %%%  in the face of the blinding sun i wake  :     Sarah McLachlan     %%%
  34. %%%  only to find that heaven is a stranger  :     -- Drawn to --      %%%
  35. %%%  place than the world i've left behind   :     - the Rhythm -      %%%
  36.